home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr05 / keycal.zip / MAKEFILE < prev   
Text File  |  1993-07-04  |  2KB  |  66 lines

  1. #************************************************************************
  2. #*    Module Name:  makefile                                            *
  3. #*         Author:  Jay Sprenkle                                        *
  4. #*      Last Mod.:                                                      *
  5. #*    Description:  makefile for keystone software Thermometer control  *
  6. #* Change History:                                                      *
  7. #************************************************************************
  8. #* Copyright (C)Keystone Software           1991.  All rights reserved. *
  9. #************************************************************************
  10. #
  11. # construction methods
  12. #
  13. .asm.obj:
  14.    masm -Mx $*,$*;
  15.  
  16. DLLFLAGS=-c -u -Asnw -FPi -Gsw -Od -Zep -W3
  17.  
  18. #
  19. # what to build
  20. #
  21. all:  keycal.dll keycal.lib generic.exe keycal.hlp
  22.  
  23. #
  24. # create the help file
  25. #
  26. keycal.hlp: keycal.rtf keycal.hpj
  27.          hc keycal.hpj
  28.          del keycal.ph
  29.  
  30. # Update the resource if necessary
  31. generic.res: generic.rc generic.h
  32.     rc -r generic.rc
  33.  
  34. # Update the object file if necessary
  35. generic.obj: generic.c generic.h
  36.     cl -c -AS -Gsw -Oas -Zpe -W3 generic.c 
  37.  
  38. # Update the executable file if necessary, and if so, add the resource back in.
  39. generic.exe: generic.obj generic.def generic.res
  40.     link /NOD generic,,NUL, libw slibcew ctl3d, generic.def
  41.     rc generic.res
  42.  
  43. keycal.res: keycal.h keycal.rc
  44.    rc -r keycal.rc 
  45.     
  46. libentry.obj: libentry.asm
  47.  
  48. GetDate.obj: GetDate.asm
  49.  
  50. keycal.obj: keycal.c
  51.    cl $(DLLFLAGS) $*.c
  52.    
  53. keycal.dll: libentry.obj GetDate.obj keycal.obj \
  54.             keycal.def keycal.res
  55.    link libentry GetDate keycal /AL:16,keycal.dll,NUL,/NOD sdllcew+slibcew+libw,keycal.def
  56.    rc keycal.res $*.dll
  57.  
  58. \windows\keycal.dll: keycal.dll
  59.    copy keycal.dll \windows
  60.  
  61. keycal.lib: keycal.dll
  62.    implib $*.lib $*.dll
  63.  
  64. \windev\lib\keycal.lib: keycal.lib
  65.    copy keycal.lib \windev\lib
  66.